package com.unknowpupil.design.factory.method;

import com.unknowpupil.design.factory.BMW;
import com.unknowpupil.design.factory.BYD;
import com.unknowpupil.design.factory.Car;

/**
 * @Description: <br/>
 * <p>
 *   比亚迪生产工厂
 * </p>
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/4/24 19:27
 * @Classname: BYDFactory
 * @Version: 1.0
 */
public class BYDFactory implements CarMethodFactor {
    @Override
    public Car createCar() {
        return  new BYD();
    }
}
